package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DeviceCategoryAdjustParameter;
import com.zhijian.medical.entity.vo.request.DeviceCategoryAdjustParameterSearchVo;
import com.zhijian.medical.entity.vo.response.DeviceCategoryAdjustParameterVo;

import java.util.List;

public interface DeviceCategoryAdjustParameterMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据设备品类id进行删除
     *
     * @param categoryId
     * @return
     */
    int deleteByCategoryId(Long categoryId);

    int insert(DeviceCategoryAdjustParameter record);

    int insertSelective(DeviceCategoryAdjustParameter record);

    DeviceCategoryAdjustParameter selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceCategoryAdjustParameter record);

    int updateByPrimaryKey(DeviceCategoryAdjustParameter record);

    int count(DeviceCategoryAdjustParameterSearchVo deviceCategoryAdjustParameterSearchVo);

    List<DeviceCategoryAdjustParameterVo> selectList(DeviceCategoryAdjustParameterSearchVo deviceCategoryAdjustParameterSearchVo);

    DeviceCategoryAdjustParameterVo selectVoById(Long id);
}